package com.tiancheng.trade.commom.core.exception;

import com.tiancheng.trade.commom.core.exception.error.IErrorInfo;

/**
 * 业务异常
 *
 * @author kellen
 * @date 2019-09-03
 */
public class BusinessException extends BaseException {

    public BusinessException(String message){
        super(message);
    }
    public BusinessException(IErrorInfo errorCode){
        super(errorCode);
    }
    public BusinessException(int code, String msg){
        super(code,msg);
    }
    public BusinessException(IErrorInfo errorInfo, Object[] args, String message) {
        super(errorInfo, args, message);
    }

    public BusinessException(IErrorInfo errorInfo, Object[] args, String message, Throwable cause) {
        super(errorInfo, args, message, cause);
    }
}